/*
 * @Author: Mr · Lei
 * @Date: 2024-12-16 17:47:07
 * @LastEditors: OBKoro1
 * @LastEditTime: 2024-12-16 17:47:08
 * @FilePath: \ruituan-tuan-Agent\src\router\routes\modules\fans.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by 四川开局红科技有限公司, All Rights Reserved. 
 */

import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const FANS: AppRouteRecordRaw = {
  path: '/fans',
  name: 'Fans',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: 'menu.fans',
    requiresAuth: true,
    icon: 'icon-user',
    order: 2,
  },
  children: [
    {
      path: 'fans-list',
      name: 'fans-list',
      component: () => import('@/views/fans/fans-list/index.vue'),
      meta: {
        locale: 'menu.fans.list',
        requiresAuth: true,
        roles: ['*'],
      },
    }
  ],
};

export default FANS;
